import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia();

// 注册插件
pinia.use(piniaPluginPersistedstate)

export * from './modules/index'

export default pinia;